package com.design.interpreter;

public class Client {
    public static void main(String[] args) {
        Context context = new Context();
        context.addValue("a",6);
        context.addValue("b",9);
        context.addValue("c",1);

        Variable a = new Variable("a");
        Variable b = new Variable("b");
        Variable c = new Variable("c");

        Multiply multiply = new Multiply(a, b);
        Devide devide = new Devide(a, b);
        Sub sub = new Sub(a, b);
        Add add = new Add(a, b);

        System.out.println(multiply.interpreter(context));

    }
}
